Automattic\Jetpack\Search\Search_Widget C

Total Complexity 113
Dependencies 12
Dependents 0
Total lines 1,036
Lines of code 685
Logical lines of code 271
Comment lines 275
Methods 23
Properties 2

Methods 23

Method Rating Maintainability Complexity Lines of code
widget_non_instant()
B
39 19 59
form()
A
34 10 114
update()
A
43 12 49
maybe_reformat_widget()
A
56 11 16
render_widget_edit_filter()
A
34 3 128
widget_instant()
A
49 8 32
maybe_render_sort_javascript()
S
46 5 51
__construct()
S
49 6 31
widget()
S
53 5 25
should_display_sitewide_filters()
S
60 5 13
form_for_instant_search()
S
47 3 43
widget_empty_instant()
S
57 4 16
sorting_to_wp_query_param()
S
62 5 10
widget_admin_setup()
S
48 2 36
enqueue_frontend_scripts()
S
58 3 16
is_for_current_widget()
S
78 2 3
render_widget_attr()
S
77 2 3
render_widget_option_selected()
S
73 2 4
get_sort_types()
S
67 2 7
jetpack_search_populate_defaults()
S
61 1 14
populate_defaults_for_instant_search()
S
67 1 9
is_search_active()
S
81 1 3
activate_search()
S
81 1 3